
python setup.py install

cp -rf /usr/share/denyhosts/denyhosts.cfg-dist /usr/share/denyhosts/denyhosts.cfg
cp -rf /usr/share/denyhosts/daemon-control-dist  /usr/share/denyhosts/daemon-control

chown root /usr/share/denyhosts/daemon-control
chmod 700 /usr/share/denyhosts/daemon-control

ln -s /usr/share/denyhosts/daemon-control /etc/init.d/denyhosts

chkconfig denyhosts on

chkconfig --add denyhosts
chkconfig --level 2345 denyhosts on



